<template>
  <n-icon>
    <component :is="icon"/>
  </n-icon>
</template>

<script setup>
import {NIcon} from 'naive-ui'

defineProps({
  icon: {
    required: true
  }
})
</script>
